// import styled from "styled-components"
// import { ICreatedByInputProps } from "./types"
import { Input } from "antd"
import { FC } from "react"

import { SFormItem } from "@/components/common"
import { useLocale } from "@/locales"

// eslint-disable-next-line @typescript-eslint/no-unused-vars
const CreatedByInput: FC<any> = ({ inputProps }) => {
	const { formatMessage } = useLocale()
	return (
		<SFormItem name="createdBy" label={`${formatMessage({ id: "label.created_by" })}:`}>
			<Input allowClear placeholder={formatMessage({ id: "label.created_by" })} {...inputProps} />
		</SFormItem>
	)
}

export default CreatedByInput
